﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TCKQKL.FrontEnd.DataModel
{
    public sealed class BankDataUI
    {
        private string _bankAccount;
        private string _bankName;
        private decimal _tradingAmount;
        private decimal _trustedAmount;
        private decimal _nettingAmount;
        private decimal _blockAmount;
        private DateTime _openDate;
        private DateTime _lastModified;

        public BankDataUI()
        {

        }
        public BankDataUI(string bankAccount, string bankName, decimal tradingAmount, decimal trustedAmount, decimal nettingAmount, decimal blockAmount, DateTime openDate, DateTime lastModified)
        {
            this._bankAccount = bankAccount;
            this._bankName = bankName;
            this._tradingAmount = tradingAmount;
            this._trustedAmount = trustedAmount;
            this._nettingAmount = nettingAmount;
            this._blockAmount = blockAmount;
            this._openDate = openDate;
            this._lastModified = lastModified;
        }

        public string bankAccount
        {
            // Properties
            get { return _bankAccount; }
        }
        public string bankName
        {
            // Properties
            get { return _bankName; }
        }
        public decimal tradingAmount
        {
            // Properties 
            get { return _tradingAmount; }
            set { this._tradingAmount = value; }
        }
        public decimal trustedAmount
        {
            // Properties
            get { return _trustedAmount; }
        }
        public decimal nettingAmount
        {
            // Properties
            get { return _nettingAmount; }
        }
        public decimal blockAmount
        {
            // Properties
            get { return _blockAmount; }
        }
        public DateTime openDate
        {
            // Properties
            get { return _openDate; }
        }
        public DateTime lastModified
        {
            // Properties
            get { return _lastModified; }
        }

    }
}
